﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LuShanTea.Front.Web.Models
{
    public class AddCartModel
    {
        [Required]
        [Range(1,long.MaxValue)]
        public long GoodId { get; set; }
        [Required]
        [Range(1, long.MaxValue)]
        public long PackId { get; set; }
        [Required]
        [Range(1,1000)]
        public int Count { get; set; }
    }
}